//
//  ListOfFacts_VC.h
//  WorldOfFacts_V2
//
//  Created by Denis Demjanko on 08.11.12.
//  Copyright (c) 2012 it-dimension. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SDSegmentedControl.h"

typedef enum {
    ReadUnread=0,
    Read=1,
    Unread=2,
} FACTS_TYPE;

typedef enum {
    All=0,
    Food=2,
    Internet=4,
    Space = 5,
    Love = 6,
    Nature = 7,
    Miscellaneous = 8,
    Photos = 9,
    Persons = 10,
    Srpot = 11,
    Video = 12,
    Celebrities = 13,
    Animals = 14,
    Cities = 15,
    Art = 16,
    History = 20,
    Records = 18,
    Technology = 200,
} CATEGORIES;

@interface ListOfFacts_VC : UIViewController{
    UITableView *table;
    UISegmentedControl *segmentedControl;
    UIImageView *category_icon;

    NSMutableArray *factsArray;
    
    FACTS_TYPE factsType;
    CATEGORIES factCategory;
}

-(IBAction)onSegmentControl:(UISegmentedControl*)sender;

@property (nonatomic, strong) IBOutlet UISegmentedControl *segmentedControl;
@property (nonatomic, strong) IBOutlet UITableView *table;

@end
